<?php

class OrderForm extends CFormModel {

    public $name;
    public $email;
    public $phone;
    public $method;
    public $shipping;
    public $warehouse;

    public function rules() {
        return array(
            array('name, email, phone, method', 'required'),
            array('shipping, warehouse', 'default'),
        );
    }

}
